package cn.hairui.blog.repository;

import cn.hairui.blog.mapper.WebInfoMapper;
import cn.hairui.blog.model.WebInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * @author lihairui
 * @version V1.0
 * @date: 2019/7/28 17:45
 */
@Repository
public class WebInfoRepository {

    @Autowired
    private WebInfoMapper webInfoMapper;

    public WebInfo query(int pk) {
        return webInfoMapper.query(pk);
    }
}
